<?php

route(['a', 'b',
], function () {
	json($_SERVER);
});

route('get@show/(\d+)', function ($id) {
	rewrite("home/show/$id");
});

route('post@show', function () {
	json($_POST);
});

route('favicon.ico', function () {
	redirect('/404.html');
});

